import layout from '@/layout'
export default {
  path: '/system',
  component: layout,
  meta: {
    title: '系统管理',
    icon: 'tree-table'
  },
  children: [{
    path: '',
    name: 'system',
    component: () =>
      import ('@/views/system')
  },
  // 员工管理
  {
    path: 'role',
    component: () =>
      import ('@/views/system/staff.vue'),
    meta: {
      title: '员工管理'
    }
  },
  // 角色管理
  {
    path: 'staff',
    component: () =>
      import ('@/views/system/Role/index.vue'),
    meta: {
      title: '角色管理'
    }
  }
  ]
}
